package cn.stylefeng.guns.modular.order.service;

import cn.stylefeng.guns.modular.order.model.Order;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yangyu
 * @since 2019-12-10
 */
public interface IOrderService extends IService<Order> {


    Page<Map<String, Object>> selectOrders(Integer userId);

    boolean saveOrder(Order order);
}
